home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / HPXL / HPXL.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  3.6 KB  |  103 lines  |  [TEXT/MPS ]

  1. #==============================================================================================
  2. #
  3. #    Make FILE:        HPXL.make
  4. #
  5. #    VERSION:        1.0
  6. #
  7. #    COPYRIGHT:        (c) 1992-96 Apple Computer Inc.
  8. #                        All rights reserved.
  9. #
  10. #    PURPOSE:        This file contains the build commands for the HPXL driver.
  11. #
  12. #    HISTORY:        Date            By        Description
  13. #                    -----            ---        --------------------------------------
  14. #                    6/14/96            cn        Updated to support MPW Pro #19.
  15. #                    8/28/94            dmh        Finalized for SDK.
  16. #                   12/18/93            dmh        Updated for the b3 seed.
  17. #                    9/13/93            dmh        Updated for the b2 seed.
  18. #                    1/20/92            Harita    Initial release
  19. #
  20. #==============================================================================================
  21.  
  22. #========== Directories Containing Source and Object Files ==========
  23.  
  24. ObjDir                    =    :Objects:
  25. SrcDir                    =    
  26. DestDir                    =    
  27.  
  28. #========== Compiler Options ==========
  29.  
  30. AsmOptions                =    -case obj
  31. RezOptions                =    -rd -d SystemSevenOrLater=1 -i "{RIncludes}"
  32. CompileOptions            =    -d applec -b2 -i "{CIncludes}"
  33. LinkOptions                =    -ra =resSysHeap,resPurgeable
  34.  
  35. DriverName         =  HPXL
  36. DriverType         = 'pdvr'
  37. DriverCreator     = 'scXL'
  38.  
  39. #========== Files to Link Seg #1 With ==========
  40.  
  41. CSeg1Objs    =    "{ObjDir}MessageJumpTable.a.o"        ∂
  42.                 "{ObjDir}MessageRoutines.c.o"        ∂
  43.                 "{ObjDir}PackageRoutines.c.o"        
  44.  
  45. #========== Link and Rez Build Statements ==========
  46.  
  47. "{DestDir}{DriverName}"    ƒƒ    {CSeg1Objs} "{SrcDir}{DriverName}.make" "{SrcDir}Resources.r"                    
  48.         Link  {LinkOptions}                 ∂
  49.               -t {DriverType}                ∂
  50.               -c {DriverCreator}            ∂
  51.               -rt {DriverType}=0            ∂
  52.               -d                            ∂
  53.               -m SD_JumpTable                ∂
  54.               -sg "{DriverName}"             ∂
  55.               {CSeg1Objs}                    ∂
  56.               "{Libraries}Interface.o"        ∂
  57.               "{CLibraries}StdCLib.o"        ∂
  58.               "{Libraries}MacRuntime.o"        ∂
  59.               -o "{DestDir}{DriverName}" 
  60.         SetFile -a Bi "{DestDir}{DriverName}"
  61.         Rez {RezOptions} -c {DriverCreator} -t {DriverType} -ov -s "{ObjDir}" -s "{RIncludes}" -o "{DestDir}{DriverName}" "{SrcDir}Resources.r" -append
  62.         SetFile -a Bi -c {DriverCreator} -t {DriverType} "{DestDir}{DriverName}"
  63.  
  64. "{DestDir}{DriverName}" ƒƒ {SrcDir}ChooserSupport.r
  65.     Rez -rd -i "{RIncludes}" -c {DriverCreator} -t {DriverType} -ov -append  -s "{ObjDir}" -s "{RIncludes}" -o "{DestDir}{DriverName}" "{SrcDir}ChooserSupport.r"
  66.  
  67. "{DestDir}{DriverName}" ƒƒ {ObjDir}ChooserSupport.a.o {ObjDir}ChooserSupport.c.o                    
  68.     Link {ObjDir}ChooserSupport.a.o                ∂
  69.         {ObjDir}ChooserSupport.c.o                ∂
  70.         -rt PACK=-4096                            ∂
  71.         -sg PrintingPACK                        ∂
  72.         -m EntryPoint                            ∂
  73.         -o "{DestDir}{DriverName}"
  74.  
  75. "{DestDir}{DriverName}"    ƒƒ {ObjDir}ChooserSupport.c.o
  76.     Link  -w -rt LDEF=-4096 -m LDEF -sg LDEF -o "{DestDir}{DriverName}" {ObjDir}ChooserSupport.c.o
  77.  
  78. #========== Assemble Build Statements - MessageJumpTable.a ==========
  79.  
  80. "{ObjDir}MessageJumpTable.a.o"    ƒ     "{SrcDir}MessageJumpTable.a" 
  81.     Asm {SrcDir}MessageJumpTable.a {AsmOptions} -o {ObjDir}MessageJumpTable.a.o
  82.  
  83. #========== Compile Build Statements - MessageRoutines.c ==========
  84.  
  85. "{ObjDir}MessageRoutines.c.o"    ƒ    "{SrcDir}MessageRoutines.c" 
  86.     SC {CompileOptions} "{SrcDir}MessageRoutines.c" -o "{ObjDir}MessageRoutines.c.o"
  87.  
  88. #========== Compile Build Statements - PackageRoutines.c ==========
  89.  
  90. "{ObjDir}PackageRoutines.c.o"    ƒ    "{SrcDir}PackageRoutines.c" 
  91.     SC {CompileOptions} "{SrcDir}PackageRoutines.c" -o "{ObjDir}PackageRoutines.c.o"
  92.  
  93. #========== Assemble Build Statements - ChooserSupport.a ==========
  94.  
  95. "{ObjDir}ChooserSupport.a.o"    ƒ     "{SrcDir}ChooserSupport.a" 
  96.     Asm {SrcDir}ChooserSupport.a {AsmOptions} -o {ObjDir}ChooserSupport.a.o
  97.     
  98. #========== Compile Build Statements - ChooserSupport.c ==========
  99.  
  100. "{ObjDir}ChooserSupport.c.o"    ƒ    "{SrcDir}ChooserSupport.c" 
  101.     SC {CompileOptions} "{SrcDir}ChooserSupport.c" -o "{ObjDir}ChooserSupport.c.o"
  102.     
  103.